home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / dskut / what20.zip / WHAT20.MSG < prev   
Internet Message Format  |  1988-09-10  |  1KB

  1. From: rickc@agora.UUCP (Rick Coates)
  2. Newsgroups: comp.binaries.ibm.pc
  3. Subject: 'what'--locates tag strings in files
  4. Date: 31 Aug 88 17:30:55 GMT
  5. Summary: what.arc, locates tag strings in files
  6. Approved: dhesi@bsu-cs.UUCP
  7.  
  8. [ Version 2.0 of 14 August, 1988.  I edited the following description.
  9. -- R.D.]
  10.  
  11. Here is a Unix-like utility (with source) for MS-DOS.  I compiled with
  12. MSC 5.1, but it is ANSI C with only file opening MS-DOS specific code.
  13.  
  14. It looks for a key text string in a file (any file: source text, binary
  15. object, or executible).
  16.  
  17. Why what?  First of all, to identify executible files.  This utility
  18. lets you know what version an executible is.  It is also very useful for
  19. library routines, both for checking which version is used and also to
  20. see what routines actually get loaded at link time.  The programmer
  21. must include a key string in the source code, which may be in C,
  22. assembldy, or other language.
  23.  
  24. This would be handy if people sending things to comp.binaries.ibm.pc
  25. used it.  Executables could be easily identified even if the original
  26. distribution were lost, or confused with updates.
  27.  
  28. The .COM file included uses MS-DOS wildcard expansion, so 
  29. "what *.exe" should work.
  30.  
  31. Rick Coates
  32.  
  33. tektronix!reed!percival!agora!rickc
  34. OR
  35. tektronix!sequent!islabs!ateq!rick
  36.